package com.tuozixuan.entity;

import cn.org.atool.fluent.mybatis.annotation.FluentMybatis;
import cn.org.atool.fluent.mybatis.annotation.TableField;
import cn.org.atool.fluent.mybatis.annotation.TableId;
import cn.org.atool.fluent.mybatis.base.RichEntity;
import java.util.Date;

/**
 * HelloWorldEntity: 数据映射实体定义
 *
 * @author Powered By Fluent Mybatis
 */
@SuppressWarnings({"rawtypes", "unchecked"})
@FluentMybatis(
    table = "hello_world",
    schema = "fluent_mybatis"
)
public class HelloWorldEntity extends RichEntity {
  private static final long serialVersionUID = 1L;

  /**
   */
  @TableId("id")
  private Long id;

  /**
   * 创建时间
   */
  @TableField("gmt_created")
  private Date gmtCreated;

  /**
   * 更新时间
   */
  @TableField("gmt_modified")
  private Date gmtModified;

  /**
   * 是否逻辑删除
   */
  @TableField("is_deleted")
  private Integer isDeleted;

  /**
   */
  @TableField("say_hello")
  private String sayHello;

  /**
   */
  @TableField("your_name")
  private String yourName;

  public Long getId() {
    return this.id;
  }

  public HelloWorldEntity setId(Long id) {
    this.id = id;
    return this;
  }

  public Date getGmtCreated() {
    return this.gmtCreated;
  }

  public HelloWorldEntity setGmtCreated(Date gmtCreated) {
    this.gmtCreated = gmtCreated;
    return this;
  }

  public Date getGmtModified() {
    return this.gmtModified;
  }

  public HelloWorldEntity setGmtModified(Date gmtModified) {
    this.gmtModified = gmtModified;
    return this;
  }

  public Integer getIsDeleted() {
    return this.isDeleted;
  }

  public HelloWorldEntity setIsDeleted(Integer isDeleted) {
    this.isDeleted = isDeleted;
    return this;
  }

  public String getSayHello() {
    return this.sayHello;
  }

  public HelloWorldEntity setSayHello(String sayHello) {
    this.sayHello = sayHello;
    return this;
  }

  public String getYourName() {
    return this.yourName;
  }

  public HelloWorldEntity setYourName(String yourName) {
    this.yourName = yourName;
    return this;
  }

  @Override
  public final Class entityClass() {
    return HelloWorldEntity.class;
  }
}
